package com.example.eventbusdemo.service;

import org.springframework.stereotype.Service;

import java.util.Random;

/**
 * @Author: zhangQi
 * @Date: 2020-10-07 19:05
 */
@Service
public class UserService {

    public long register(String telephone,String password){
        System.out.println("注册用户手机:["+telephone+"],密码为:["+password+"]");
        Random r = new Random(37);
        return r.nextLong();
    }
}
